package cn.tedu.project.oa.announcement.service;

import cn.tedu.project.oa.announcement.pojo.dto.AnnouncementQuery;
import cn.tedu.project.oa.announcement.pojo.dto.AnnouncementSaveParam;
import cn.tedu.project.oa.announcement.pojo.vo.AnnouncementVO;
import cn.tedu.project.oa.base.response.PageData;

import java.util.List;

public interface AnnouncementService {


//    List<AnnouncementVO> selectList(AnnouncementQuery announcementQuery);
    PageData selectList(AnnouncementQuery announcementQuery);

    AnnouncementVO showAnnouncement(Long id);

    void saveAnnouncement(AnnouncementSaveParam announcementSaveParam);

    void deleteById(Long id);
}
